The HA configuration file contains four components. To ensure the smooth running of your HATS HA, please use the following procedure to set up each component in the HA configuration file.
# HA configuration file # ################################# #................ License Definition................. # ################################# # LICENSE= LICENSE= SERI AL= SERIAL= DATE= DATE= # # ################################# #............. Node Definition........................# ################################# # HOST_NODE= # ORGINAL_IP= ORGINAL_IP= ORGINAL_ETHER= ORGINAL_ETHER= # # ################################# #..................Job Definition...................... # ################################# # JOB_NAME= # JOB= # ACT_NODE= ACT_LAN= ACT_IP= # SHARE_DI SK= MOUNT_POINTER= # STANDBY_NODE= STANDBY_LAN= STA NDBY_DISK= # # # # ################################# #........ .........Misc. Definition................... # ################################# # HEART_BEAT= HEART_BEAT= # ALIVE_CHECK_TIME= DEVICE_CHECK_TIME= SYNC_DISK_TIME= # ##end |
There are two files ("config.sample" and "config.syntax") in HATS HA that provide usefule examples and syntax information to help you set up your own configuration.
It is helpful to have these two files open in two other different windows for your reference while setting up your own configuration. Use the following procedure:
# HA configuration file # ################################# #...........LicenseDefinition..........................# ################################# # LICENSE=russell:6BD84BC01095F57A LICENSE=peter:EAFEF623F7F970AF SERIAL=russell:1234567890123456 SERIAL=peter:1234567890123456 DATE=russell:03201996 DATE=peter:03201996 # # ################################# #.........Node Definition............................. # ################################# # HOST_NODE=russell,peter # ORGINAL_IP=russell:le0:russell,le1:russell-1 ORGINAL_IP=peter:le0:peter,le1:peter1 ORGINAL_ETHER=russell:8:0:20:1a:ab:8e ORGINAL_ETHER=peter:8:0:20:1b:cd:99 # # ################################# #...............Job Definition.......................... # ################################# # JOB_NAME=nfs1,nfs2 # JOB=nfs1 # ACT_NODE=russell ACT_LAN=le1 ACT_IP=act1 # SHARE_DISK=/dev/dsk/c1t3d0s0 MOUNT_POINTER=/share_nfs1 # STANDBY_NODE=peter STANDBY_LAN=le1 STANDBY_DISK=/dev/dsk/c1t3d0s0 # SUPPORT=NFS # JOB=nfs2 # ACT_NODE=peter ACT_LAN=le0 ACT_IP=act0 # SHARE_DISK=/dev/dsk/c1t3d0s1 MOUNT_POINTER=/share_nfs2 # STANDBY_NODE=russell STANDBY_LAN=le0 STANDBY_DISK=/dev/dsk/c1t3d0s1 # SUPPORT=NFS # ################################# #................Misc. Definition...................... # ################################# # HEART_BEAT=russell:le0 HEART_BEAT=peter:le0 # ALIVE_CHECK_TIME=8 DEVICE_CHECK_TIME=10 SYNC_DISK_TIME=20 # ##end |
# HA configuration syntax file # #################################### #....................License Definition..................... # #################################### # LICENSE=<hostname1>:< licensenumber1> [...] SERIAL=<hostname1>:<serial number1> [...] DATE=<hostname1>:<mmddyyyy> [...] # # #################################### #...............Node Definition............................ # #################################### # HOST_NODE=<hostname1> [,<hostname2>,...,<hostname5>] # ORGINAL_IP=<hostname1>:<interface1>:<ip1>[,<interface2> :<ip2>,...,<interface9>:<ip9>] [...] ORGINAL_ETHER=<hostname1>:<ethernethardware address1> [...] # options start # options start ORGINAL_NETMASK=<hostname1>:<interface1>:<netmask1> [,<interface2>:<netmask2>,...,<interface9>:<netmask9>] [...] #options end # options end # # #################################### #..................... Job Definition.........................# #################################### # JOB_NAME=<jobname1>[,<jobname2>,...,<jobname5>] # JOB=<jobname1> # ACT_NODE=<hostname?> ACT_LAN=<interface?> ACT_IP=<ipact> # SHARE_DISK=</dev/dsk/cWtXdYsZ> [,</dev/dsk/cWtXdYsZ>] MOUNT_POINTER=<absolutepath1>[,<absolutepath2>] # STANDBY_NODE=<hostname?>[,<hostname?>,...,<hostname?>] STANDBY_LAN=<interface?>[,<interface?>,...,<interface?>] STANDBY_DISK=</dev/dsk/cWtXdYsZ>{[,</dev/dsk/cWtXdYsZ>] :</dev/dsk/cWtXdYsZ>[,</dev/dsk/cWtXdYsZ>]:...:</dev/dsk/cWtXdYsZ> [,</dev/dsk/cWtXdYsZ>]} # #options start # options start ACT_ETHER=<ethernet hardware address act> ACT_NETMASK=<netmaskact> SUPPORT=<NFS|[space],NFS|[space]> MOUNT_OPTIONS=<option1>[,<option2>] SHARE_OPTIONS=<option1>[,<option2>] SWITCH_BACK=<no|yes> LAN_ALLCHECK=<no|yes> #options end # options end # JOB=<jobname2> # ... ... # # JOB=<jobname9> # ... ... # # # ##################################### #......................Misc. Definition....................... # ##################################### # HEART_BEAT=hostname1:[<terminaldevice>|<interface?>] [...] ASYNC_RATE=<9600|19200> # ALIVE_CHECK_TIME=<seconds> DEVICE_CHECK_TIME=<seconds> SYNC_DISK_TIME=<seconds> # # #options start # options start CHECK_LAN=<yes|no> CHECK_DISK=<yes|no> DETECT_ONLINE=<no|yes> # DISPLAY_TRACE=<no|yes> LAN_ERROR_BEEP=<no|yes> LAN_ERROR_ROUTE=<no|yes> LAN_ERROR_COUNT=4 # START_SYNC_TIME=20 DETECT_WAIT_TIME=40 STANDBY_WAIT_TIME=30 # SHARE_KEY=8800 SEND_BEAT_PORT=12100 SEND_INTER_PORT=12200 SEND_DETECT_PORT=12300 SEND_BROADCAST_PORT=12400 # IN_JOB_TIME=240 SEND_INFO_TIME=60 LOOP_BACK_COUNT=5 # STATUS_ROW=30 STATUS_COL=32 STATUS_XAXIS=53 STATUS_YAXIS=25 HISTORY_ROW=9 HISTORY_COL=42 HISTORY_XAXIS=53 HISTORY_YAXIS=513 NEXT_OFFSET=334 STATUS_FONT=10x12 HISTORY_FONT=8x13 STATUS_COLOR=hostname1:aquamarine [...] HISTORY_COLOR=hostname2:Lightcyan [...] #options end # options end ##end |
Important!!! Before you can configure the License Definition, you must contact H.A. Technical Solutions, LLC to obtain valid license and serial numbers. |
Before setting up the License Definition section, you must have your hostname ready.
To obtain your hostname, at system prompt, type: /usr/ucb/hostname. Press ENTER.Your hostname will appear in a separate line.
################################# #................License Definition.................. # ################################# # LICENSE= LICENSE= SERIAL= SERIAL= DATE= DATE= # |
Important!!! Before configuring the Node Definition, make sure all the workstations running HA are connected to a shared disk or disk array! |
################################# #.....................Node Definition................ # ################################# # HOST_NODE= # ORGINAL_IP= ORGINAL_IP= ORGINAL_ETHER= ORGINAL_ETHER= # |
################################# #.................Job Definition....................... # ################################# # JOB_NAME= # JOB= # ACT_NODE= ACT_LAN= ACT_IP= # SHARE_DISK= MOUNT_POINTER= # STANDBY_NODE= STANDBY_LAN= STANDBY_DISK= # |
################################# #.............Misc. Definition.........................# ################################# # HEART_BEAT= HEART_BEAT= # ALIVE_CHECK_TIME= DEVICE_CHECK_TIME= SYNC_DISK_TIME= # |
Table of Contents | Sec.3- 1 | Sec.3-2 | Sec.3- 3 | Sec.3-4 |
---|